﻿<%@ Page Title="" Language="C#" MasterPageFile="~/View/Shared/Site.master" AutoEventWireup="true" CodeFile="GAGeneralVoucherMng.aspx.cs" Inherits="View_GeneralAccounting_GeneralVoucherDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" Runat="Server">
Phiếu kế toán
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" Skin="Office2007"/>
        <br />
        <br />
        <div class="aligncenter">
            <label class="fonttitle"><strong>Phiếu kế toán</strong></label>
        </div>
        <br />
        <br />
        <div>
            <button ID="bAddNew" runat="server" onclick="OpenSubWindow('../GeneralAccounting/GAAEGeneralVoucher.aspx','GAAEGeneralVoucherWD');return false;">
                Tạo mới phiếu kế toán
            </button>
            &nbsp;
            <button ID="bDelete" runat="server">
                Xóa phiếu kế toán
            </button>
        </div>
        <br />
        <fieldset class="vfieldset">
            <legend><strong>Phiếu kế toán</strong></legend>
            <telerik:RadGrid runat="server" ID="RadGrid2" 
                OnNeedDataSource="RadGrid2_NeedDataSource" AllowPaging="True" 
                AllowSorting="True" AllowFilteringByColumn="True" PageSize="5" 
                AutoGenerateColumns="False">
                <MasterTableView DataKeyNames="ProductID" ClientDataKeyNames="ProductID">
                    <PagerStyle Mode="NumericPages" />
                    <Columns>
                        <telerik:GridBoundColumn DataField="ProductID" HeaderText="ProductID"
                            DataType="System.Int32" >
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="ProductName" HeaderText="ProductName"
                            DataType="System.String">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="UnitPrice" HeaderText="UnitPrice"
                            DataType="System.Double" DataFormatString="{0:C}">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="ReorderLevel" HeaderText="ReorderLevel"
                            DataType="System.Int32">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Discontinued" HeaderText="Discontinued"
                            DataType="System.Double">
                        </telerik:GridBoundColumn>
                    </Columns>
                    <PagerStyle Mode="NumericPages" />
                </MasterTableView>
            </telerik:RadGrid>
        </fieldset>

</asp:Content>

